<%--
  Created by IntelliJ IDEA.
  User: W len P
  Date: 2022/4/6
  Time: 17:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<%
    String basePath = request.getContextPath();
%>
<head>
    <link rel="stylesheet" href="<%=basePath%>/css/bootstrap.css">
    <script src="<%=basePath%>/js/jQuery.js"></script>
    <script src="<%=basePath%>/js/user.js"></script>
    <script src="<%=basePath%>/js/bootstrap.bundle.js"></script>
    <title>Title</title>
</head>
<body>

<div class="container">
    <div class="form-group form-inline">
        <label for="searchInput">用户名：</label>
        <input type="text" name="condition" id="searchInput" class="form-control">
        <button id="search" class="btn btn-primary" style="margin-left: 10px;">查询</button>
    </div>

    <table id="userTable" class="table">
        <tr class="thead-dark">
            <th>Username</th>
            <th>Password</th>
            <th>Role</th>
            <th>Option</th>
        </tr>
    </table>
</div>


<%--<div class="form-group">--%>
<%--    用户1：<input type="text" id="user1" name="user1">--%>
<%--    用户2：<input type="text" id="user2" name="user2">--%>
<%--    用户3：<input type="text" id="user3" name="user3">--%>
<%--    <button id="testSearch">查找</button>--%>
<%--</div>--%>

<div id="updModal" class="modal fade" data-backdrop="static">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="staticBackdropLabel">修改用户</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <div id="username">Username：<span></span></div>
                </div>
                <div class="form-group">
                    <label for="password">Password：</label>
                    <input type="text" id="password" class="form-control" name="password">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
                <button type="button" id="update" class="btn btn-primary">修改</button>
            </div>
        </div>
    </div>
</div>

</body>
</html>
